package online.longzipeng.back.pojo.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * @Author: lzp
 * @Description: 用户视图
 * @Date: Created in 11:54 2022/6/8
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
public class UserVo {

    /**
     * 用户id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**
     * nickName
     */
    private String nickName;

    /**
     * 用户头像
     */
    private String avatarUrl;

}
